package com.xzh.homeliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xzh.common.utils.PageUtils;
import com.xzh.homeliving.commodity.entity.AttrAtRelationEntity;

import java.util.Map;

/**
 * 商品属性和商品属性组的关联表
 *
 * @author xzh
 * @email ranpis02@qq.com
 * @date 2024-01-31 20:34:54
 */
public interface AttrAtRelationService extends IService<AttrAtRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 专门用于处理新增关联关系
     * @param attrAtRelationEntities 传入的attrId和attrGroupId构成的对象的数组
     */
    void addAttrAndAtRelation(AttrAtRelationEntity[] attrAtRelationEntities);
}

